Skip to main content

All Questions

5votes
1answer
949views

How to guarantee invariants / Inner logic in setter methods

According to DDD-principles I use factory-methods to create consistent objects and to ensure that the objects are in the right state. Now I'm in doubt about inner logic of setter methods. I'm tied up ...
shylynx's user avatar
  • 2,134

close